//
//  ViewController.h
//  Bowling
//
//  Created by iD Student on 7/17/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
int x;
@interface ViewController : UIViewController {


    __weak IBOutlet UIImageView *r1Pin;
    __weak IBOutlet UIImageView *r2Pin;
    __weak IBOutlet UIImageView *r3Pin;
    __weak IBOutlet UIImageView *r4Pin;
    __weak IBOutlet UIImageView *mPin;
    __weak IBOutlet UIImageView *l1Pin;
    __weak IBOutlet UIImageView *l2Pin;
    __weak IBOutlet UIImageView *l3Pin;
    __weak IBOutlet UIImageView *l4Pin;

    __weak IBOutlet UIImageView *ball;
    
    
    AVAudioPlayer *appAudio;
    
    AVAudioPlayer *ballAudio;
    
    AVAudioPlayer *strikeAudio;
    
    AVAudioPlayer *ballAudio2;

    
    NSTimer *timer;
    
    
    
    BOOL l1PinHit;
    BOOL l2PinHit;
    BOOL l3PinHit;
    BOOL l4PinHit;
    BOOL mPinHit;
    BOOL r1PinHit;
    BOOL r2PinHit;
    BOOL r3PinHit;
    BOOL r4PinHit;
    
    __weak IBOutlet UILabel *score;
    
}

-(IBAction)moveRight:(id)sender;
- (IBAction)moveLeft:(id)sender;
- (IBAction)goBall:(id)sender;


@end
